package com.cubeofnine.sugar.activity.import_contact;

import com.cubeofnine.sugar.service.element.ReturnExportContactList;

import android.content.Context;
import android.util.Log;

public class ImportContactsListRunnable implements Runnable {
	private Context context;
	private ReturnExportContactList result;
	private String message;

	public ImportContactsListRunnable(Context context,
			ReturnExportContactList result, String message) {
		super();
		this.context = context;
		this.result = result;
		this.message = message;
	}

	public String getClassName() {
		return ImportContactsListRunnable.class.getName();
	}

	public void run() {
		Log.i(getClassName(), "run() : Start");

		((ImportContactsListActivity) context).initialProcess(result, message);

		Log.i(getClassName(), "run() : End");
	}

}
